package com.ximu.service_home.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 平台端商品二级分类
 * </p>
 *
 * @author ximu
 * @since 2022-06-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="PlatTwotype对象", description="平台端商品二级分类")
public class PlatTwotype implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "分类ID:二级分类例:1,，大于1小于1000即可")
      @TableId(value = "type_id", type = IdType.AUTO)
    private Integer typeId;

    @ApiModelProperty(value = "父级分类ID(逻辑外键)")
    private Integer typeFather;

    @ApiModelProperty(value = "分类名称")
    private String typeName;

    @ApiModelProperty(value = "逻辑删除 1（true）已删除， 0（false）未删除")
    private Integer isDeleted;

    @ApiModelProperty(value = "创建人")
    private String createdBy;

    @ApiModelProperty(value = "创建时间")
    private Date createdTime;

    @ApiModelProperty(value = "更新人")
    private String updatedBy;

    @ApiModelProperty(value = "更新时间")
    private Date updatedTime;


}
